import request from '/@/utils/request';
enum Api {
    Pagecms_download = '/api/cms_download/Page',
    Addcms_download= '/api/cms_download/addDownload',
	Editcms_download= '/api/cms_download/update',
	Delcms_download= '/api/cms_download/delete',
}
/**获取分页 */
export const pagecms_download = (params?: any) =>
    request({
        url: Api.Pagecms_download,
        method: 'post',
        data: params,
    });
	

	// 增加
	export const addcms_download = (params?: any) =>
		request({
			url: Api.Addcms_download,
			method: 'post',
			data: params,
		});
	
/**保存 */
export const editcms_download = (params?: any) =>
    request({
        url: Api.Editcms_download,
        method: 'post',
        data: params,
    });
/**删除 */
export const delcms_download = (params?: any) =>
    request({
        url: Api.Delcms_download,
        method: 'post',
        data: params,
    });
	